package com.zeei.ems.base.vo;

import com.zeei.ems.base.tree.TreeNodeVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.StringUtils;

@ApiModel(value = "RiverVO", description = "流域实体类")
@Data
public class RiverVO  extends TreeNodeVO<RiverVO>  {
    /**
     * 河流流域代码
     */
    @ApiModelProperty(name = "code_WSystemWater", value = "河流流域代码")
    private String code_WSystemWater;
    /**
     * 流域河流名称
     */
    @ApiModelProperty(name = "wSystemWaterName", value = "流域河流名称")
    private String wSystemWaterName;
    /**
     * 数据类型1流域2河流或干流3湖库
     */
    @ApiModelProperty(name = "dataType", value = "数据类型1流域2河流或干流3湖库")
    private Integer dataType;
    /**
     * 父级ID
     */
    @ApiModelProperty(name = "pCode", value = "父级ID")
    private String pCode;
    /** 父级部门id */
    private String parentId;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;

    private String functionalArea;
    private String sCode;
    private String targetsCode;
    /**
     * 洪涝季节
     */
    @ApiModelProperty(name = "wetSeason", value = "洪涝季节")
    private String wetSeason;
    /**
     * 视频ID
     */
    @ApiModelProperty(name = "normalSeason", value = "正常季节")
    private String normalSeason;
    /**
     * 旱季
     */
    @ApiModelProperty(name = "drySeason", value = "旱季")
    private String drySeason;
    /**
     * 河流级别
     */
    @ApiModelProperty(name = "riverLevel", value = "河流级别")
    private String riverLevel;
    /**
     * 排序
     */
    @ApiModelProperty(name = "orderNum", value = "排序")
    private Integer orderNum;
    /**
     * 图片url
     */
    @ApiModelProperty(name = "picUrl", value = "图片url")
    private String picUrl;
    /**
     * 多个图片id，逗号分隔
     */
    @ApiModelProperty(name = "picCodeList", value = "多个图片id，逗号分隔")
    private String picCodeList;

    public String getParentId(){
        return this.pCode;
    }
    public String getCode_WSystemWater() {
        return code_WSystemWater;
    }

    public void setCode_WSystemWater(String code_WSystemWater) {
        this.code_WSystemWater = code_WSystemWater;
        if (StringUtils.isNotEmpty(code_WSystemWater)) {
            this.id = StringUtils.trim(code_WSystemWater);
        }
    }

    public String getWSystemWaterName() {
        return wSystemWaterName;
    }

    public void setWSystemWaterName(String wSystemWaterName) {
        this.wSystemWaterName = StringUtils.trim(wSystemWaterName);
        this.text = StringUtils.trim(wSystemWaterName);
    }
}
